Use IMG tool to extract files

mod by: froden