boilerplate for element script