Fix expansion of path additions.
Added P command.