Add ability to specify location of pid file