Added code to config file per stack overflow
COnfig