Trying to get persistent storage working