changes to make file to switch output directory