add package repo, and init script templates