First version of update script.
Updated update script and finished clean scripts.