Setting the storage directory based on the kind of deployment