Removed unnecessary code and set to loss-less compression