cd'ing to directory before running command