Migrated scripts to node