goes to the correct directories now