Executing Scripts in Response to User Action