updated for --unsafe-perm instruction
pipe notes
closes #217 and #231
closes #198 - clear cache on appified upgrade