Migration of scripts