Refactor createBugReport: method
Fix contents proprty on AppleScripting
Compile internal AppleScript on build