added pak image support