create build script to generate link files