and avoiding writing a ton of bash