Fixed web service so it's not in test mode