set pipefail, no ssh compression
added list of local functions