Added switches to shell proxy script