Modified some scripts.