Fixing remote script.