updated stability scripts for multiple output