Use parameters instead of reading them from config file