Changed permissions to allow for no image name