Use defined values instead of static values for pidfilepath