moved config file stuff into masterplot