Externalized box-scat.R