Make sure to minify executable scripts only. Closes #311