Initial version of maintenance.py