update spectrum creating scripts