refactoring
refactoring, added the script interpreter