Internalize libraries and resources