changed to use a conf json file to load
change this one to use conf json as well