moved around some stuff and figured out how to get glob to run within Promise before it resolves and the command exits