use bash instead of sh for uptime script