Move stamp file to /var/run

stamp file moved to /var/run.

- Also removed the hardwired strings referring to the old path
- Added a helper script to print out the actual path
- Got rid of some code duplication - use provided scripts instead