If you install the shower directly in place of the tub, the drain lines can be aligned. This would also mean that the water supply can be used as before, without changing the bathroom layout. But if the drain position is not exact, you may need to move the drain lines and the water supply.