Trying CHMOD in the code