replace url and key with boilerplate