swapped ~/ for scripts dir when downloading files.