Updated APNS to support plist settings and fixed absolute path.