some work on Script Engine