add code for USPR config file based