Fixed advice generation, statistics output added in mappers