Better error handling on scope startup