Fix config.py for frozen builds and be more verbose about script loading