Shopkeeper's onsave and onload work properly now.