cleanup load script, fix error in if statement
Merge branch 'master' of github.com:PecanProject/pecan