Running an external algorithm or command