Use -e flag instead of -p flag in advanced example