Added function to call ./jstack