Fixes issues with 'sy genlink -s' and resolves #293