Rearranged the __init__ function of fp, now the settings are loaded from the configfile