adjust some scripts file