fix arg processing, remove minified version