Add SCRIPT macro

Andrei suggested that I add this SCRIPT macro in PR 2567 on phobos.
Merge pull request #668 from markisaa/scriptmacro

Add SCRIPT macro