Allow script to work from any folder on Unix

Refs #10714