Quote EUID test
Fix $1 references to $3