set correct external script host