changing the file path to data folder in some scripts