I asked on IRC, and script should be like ${pkgs.package}/bin/command, not just command. Same for the web interface below.