Only show the new_old_messages function when in development mode cc @simonwheatley