Removed smartimage library because it didn't work