Fixes and added visual studio env. script.