Changed the solar flare script to allow the cmd option to work correctly.