sorting out manifest file and install code