Fully implemented command exec mechanics