fixed permissions on cli (+x) and non-cli files (-x)