Added some error checking and covariate inclusion to reg_fs.R