migrating scripts to nas