Added generate script