switching to local image