CFY-1272 fixed tty script reference and get_resource_url test