added some logic to script and changing back to work on rainier