few changes to scripts