Fix image pathing issue and get rid of NPMap.path variable