refacored nxdocserver script

added fabric task
See #4