Create load_status function