Locked down WS script