Added BugSense code