Provide id of selected object to script