added advanced mode to config.py