Rebuilt the script from the ground up. Removed the logging feature, removed the traces search after uninstall. Usage and commands make more sense now. Discovered that the ManagedInstalls.plist can be in 2 locations, so it caused a bug where the script would update the plist, but the client would keep checking at the old location. The installation procedure now includes plist config. There are many keys that can be included, but I only added SoftwareRepoURL, ClientIdentifier, DaysBetweenUpdates. The rest of the keys: https://code.google.com/p/munki/wiki/configuration. Added a feature to tail the ManagedInstalls Log, since it is in a directory that is not easy to find (see usage).