change paths to global variables