Fix gen scripts broken during export to GIT

Addition to b240dc824289aed20d1f9b5ae0d940fd5cc498f4

There were still errors in du_users_export (missing variable definition,
so du_users_export was failing on syntax error)