basic script
works with gadget snap