To remove a script argument, select the argument, then click Remove.
To remove a script entity, select the icon next to the name of the entity, then click Remove.