Removed flask code