added shorts for parameters
won't crash no more if mimetype not found
version push