Added repeat ability to commands