Prepare for global store and kstore
Add global store