Added windows scripts for updating commit hash
Added pre- and post- build events