script de generation