Updating housekeeping script for checking validity, local copies etc.