Checked how to check for making directories. Added a check for integers on gsparams. Removed files that aren't explicitly for balrog. Removed extra unnecessary cosmos catalogs