Updated datagen_db.php and other dotgen*.php files that use datagen_db.php to select agentID from question.agentID