add resource and manifest