Fix service-script-path methods to use fragment

The generated comments were breaking scripts.