simple linking script