Fix log for the shell when other transformations run first.
Fix plugin to respect -p flag