getting uptime template to work