preparando script final