Added clear command and -t option to logs command