Fix check command permission and imports