changed ups script to use config file