Prepare calling external scripts.