Leave minified file in certain condition + fixes