minify script for digital basin