Table script generator backend