Fixed headless client and transpile script

Really need to reactor the worker worlds to one script.