Refactor

Finished refactoring for script to get 3 hour PSI data.