added pgrestart alias and made some nc funcs parallalized