fix infer script to work on hotfoot
update param ranges