Remove unused load script file function