Switched memorystorage define flag for publishing to Azure.