convert the main photoshop script to use psEval