Cash flow planning and debt management