Now reads from a config file! Other fixes, probably.