Fail early if not in install mode, remove long if sections