change debug statements to info for debugging on prod server.