I have a script where during a short period of time near the middle of the script I need only one user to be able to access it at a time. Is it possible to use 'flock' to have a script temporarily lock itself? If not what other possiblities are there?