make it so you don't have to append compile to the directory argument name