Permissions fix with hooks on Mac/Linux
updated working tree
Spacing added
Updated to better output stdout from Cordova