added dynamic optimisation/minification