Refs #18962 - Add main function