Automatic currency replacement