small script updates