Added two more global variables in the place of hard coded settings