Can this go in `script` rather than be a top-level file?