add library calls to barrier script. also, this isn't in the commit, but as a reminder: needed to update the sp package