Added a -d option to webgen.sh and removed webgen_debug.sh