php support, cmd args, and some other stuff ostar did