Made it possible to change imagepath