adding custom template support, cleaning up splash graphic logic