upgrade some scripts