trying to get the old run scenario button half working, so I can execute some code in tasks