Add pkg and master file