cleaned up command and removed some logs from it