add genpath for rmpath of remove folders