added time command to measure command execution time