start resource mgmt
safe integer cast
rename a directory