made cur_cwd permanant