More sudo fixes and clc port type conversion to int