Made options more generic so tasks other than concat can be provided (e.g. uglify)