Added chmod and removing exist file when option override is true.
Replaced symlink by basic file.