Replace kill by /bin/kill
Protect PIDFILE variable with quotes