Scripts for stellar spectroscopy work