Converted the post build scripts to grunt/node
Fixes #6135
Test