set process index, cd to current_path again