Basic oscillo script updated to align with new api