cleaned up manifest initialisation