add resources and libs