Bug 999574 system runapp redux 3

https://bugzilla.mozilla.org/show_bug.cgi?id=999574