Added script::getTableInteger
Added script helper functions