Got local replacement to work