Create gmCommand