Added very simple scripting system