Made discover a standalone command