replace hardcoded url with url from module config
remove debugging elements