Removed lots of unnecessary backups, and also implemented the draw image function