modifications to package install (pip doesn't install egg files. Work in progress)