Implement run script.