made the setup script use a nice ol' file lock