Added current image dir as config param