sat_gen script made