refactored linking method
removed short title and added spec for commandline linking