still needs some work to ensure permissions and ownership are correct