Fix for remote script download.