Changes to imageinit stuff