Changed from using 'defaults' to using the plist go library.