check that property-db is to be used only with agent generation
adding the usedb option