remove localhost reliance

add another item in the appconfig