Base do script