use environment variable to get path of ot.pid files