readability tweaks for Mateus' script