Added OS types and option to change base path.