added the make_reg_file functionality to astrom_simple.py