change folder paths to a parameter