A lua sandbox for executing non-trusted code