finished lua addition; added config lua script