added a bunch of stuff. chdir, and user commands work now