Changed options
Ensuring the correct Mime-type
Updating the documentation