Added slug and a minor change to parseTrueInt