Fixed the evaluation of scripts
Merge pull request #34 from stof/evaluate_script

Fixed the evaluation of scripts