Fix console script
Merge pull request #101 from maurimiranda/master

Fix console script