some scripts in lua programming language