How to handle maintenance routines