updated linking script