can now get the two values from the config files and return them as an int