send staging directory to before/after script