added scripts download functionality