fix for runsh - is_running fuction declaration was wrong.