local distribution
Revert "local distribution"

This reverts commit 89519abdb64537579fb42953b340239451981e1d.
whitespace and indent fixes