fixed proxy script. added -on -off