Fix for script downloading