Version flag works inside and out of directory