change url in macx script