add changes to the scripts, minor, tuning