Applied Ant/StealthWombat's suggestions

Signed-off-by: emanuele <emanuele45@gmail.com>