reorganise install/update scripts