added commands to core process, core process now reads image file