migrated a spec to script.Specification