Changed str to int for config variables