Rewrite in shell.