used path to create path to change directories