switch to write to data folder