download pkg from known channel; remove duplicate code; remove conda init from main; minor cleanup