Fixing -p so it can be used in combinations of other flags