adding in my auto-image stuff with marked