added "platform = new Resource(sahiTasks, platformName);" after platform uninventory-autoInventory