added add.php options to gen script