Fixed script erros.
Merge pull request #2 from kaumac/correcoes

Fixed script erros.