Corrected some relative/absolute path discrepancies and touched webgen.py