scripts: add tool for generating redboot scripts