Script completo