adds some checks to the store creation script