small changes to scripts