created a function and moved beta4 files to gfsR_old