invoking Tony's script at various places. Added a new method to invoke PS scripts.