added aprun example; updated which function