New script to generate directional links

Version 1.0.