Added image min, fixed some scripts.