added command line options; added support for building many packages at once
reset environment before each package