Add script block to default layout. Fixes #10