add uglify/debug switch