change the local URL and have the  correct init