Fixed init script following symbolic links when overwriting files