Adding running.pid creation.