Change directory to path relative to the actual script - not just the root the user specified while invoking oaf. Added check for directory existence so the localhost:9000/blah will map into the blah/ folder if it exists and execute the _default_ method.