Add caption option and minify version