Added pre-update script to do administrative tasks