Added the cleaning of the media folder to the install script