Made a minor fix. Other changes made to distribution setup script