few changes to Chmod