code reset pre-modal
fix api_key in checkout script