changed example script, added minification