added image compression and theme