minor tweaks
os.chdir() for httpd root dir