Implemented a simple package script to be run in the head directory.