Reversed the terminal script.