qmartpks commands in the database