Issue #14: fixed bug persisting ScriptProject