Switch to <<EOF syntax for inline python code