Minor fixes

- Replace sprintf with printf to output correctly
- Set default  'y' for dir link prompt
Merge branch 'develop'