scripts: handle cape firmware

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>