Added image building stuff.