Update upgrade script to switch between ajaxplorer and pydio