Interacting with external scripts