Expanded things a bit, added options to load custom config file.