minor changes to scripts