- added link resources to global variables