Sanitize and pretify p2s.sh