Works without api using argv