changed some scripts