Removed AddPSCmd and AddPSScripts