Modification of Script 2