How to Override Site's 'Maintenance On' Page?

Is there a way I can override the Page displayed when Maintenance Mode for teh site is set to On (To display a better UI Page)?
After bit of digging, i found the code used to set the message when site in maintenance mode is:

def handle_session_stopped():
  from frappe.website.serve import get_response
  frappe.respond_as_web_page(
	_("Updating"),
	_("The system is being updated. Please refresh again after a few moments."),
	http_status_code=503,
	indicator_color="orange",
	fullpage=True,
	primary_action=None,
  )
  return get_response("message", http_status_code=503)  

but this code does not seem to target any specific page, but rather uses the default Frappe Page Template showing 503 Error