Add required libraries and permissions