added PID file for single instance check