Replace prompt instead of adding a new sub