read functions from config file