Changed mensagem to be called from within iex, or from another app