writing package installers