Added functionality for global layout files