Better scripting handler, and started a client helper to run script