cd into the correct directories