Improved time command