Few bug fixes for image:new subroutine

Fixed directory names
Fixes path
Fixed typos