Calling the methods from config file if they exist

this need one less space