Added email script back