cleaned some scripts