CFY-476 added download_resource support for scripts