Added load code for tps_model