Integrate nss compilation support to ScriptFile