Modification to scripts