Changing example code to use latest scripts

The example code used a placeholder value that didn’t correspond to a
script.
Added minification by default to script generation