IM: Quick runtime fix - sheargen()

- Have to check return values of functions
- Link to user given inputs