diff --git a/hsp.cabal b/hsp.cabal
--- a/hsp.cabal
+++ b/hsp.cabal
@@ -1,5 +1,5 @@
 Name:                   hsp
-Version:                0.6.0
+Version:                0.6.1
 License:                BSD3
 License-File:           LICENSE
 Author:                 Niklas Broberg, Joel Bjornson
@@ -18,7 +18,7 @@
                         * A cgi-handler utility (as a separate package, hsp-cgi)
                         .
                         For details on usage, please see the website, and the author's thesis.
-Homepage:               http://code.google.com/p/hsp
+Homepage:               http://code.haskell.org/HSP/hsp
 Build-Type:             Simple
 Cabal-Version:          >= 1.2.3
 Tested-With:            GHC==6.8.3, GHC==6.10, GHC==7.0.2
diff --git a/src/HSP/HJScript.hs b/src/HSP/HJScript.hs
--- a/src/HSP/HJScript.hs
+++ b/src/HSP/HJScript.hs
@@ -24,8 +24,8 @@
 instance Monad m => IsAttrValue m (HJScript (Exp t)) where
   toAttrValue script = toAttrValue $ evaluateHJScript script
 
-scriptAsChild :: (EmbedAsChild m String) => HJScript () -> XMLGenT m [HSX.Child m]
-scriptAsChild script = asChild $ show $ snd $ evalHJScript script
+scriptAsChild :: (EmbedAsChild m (Block ())) => HJScript () -> XMLGenT m [HSX.Child m]
+scriptAsChild script = asChild $ snd $ evalHJScript script
 
 newGlobalVar :: HSP (Var t, Block ())
 newGlobalVar = do
