Disable some scripts and reorder logic.