Shell commands backport and migration