fixed bug when folder name ends with whitespace
Updated to API Version 2
Merged.
Updated install info