Updated scripts with small minor changes