Added code to fix blob permissions - closes #16