work in progress: adding native packaging support