Replaced hard coded variable with config variable