refactored variables to a .conf file