added minified detect file