This is a copy of the macautopkg found here https://code.google.com/p/macautopkg. Just storing it here for personal reference.