Serve: Fixed up CWD and sys.path so that they refer to the script files directory rather than the home directory of the user. I can still see a reason why you might want to use $HOME for the CWD for served scripts, but this is more consistent with the way console (and even cpython) works.