adding manifest
added some necessary settings
fixing error where str where expected but bytes are given