Added tool file

LUA script for generic methods