setting paths correctly