implemented upload code + publishing for master page / assets etc.