added batch image gen file