Correctly finished scriptAPI. action added.