Calling external procedures now sort of works