fixed trailing whitespace and imported math so the uptime command would work