Added option to change file permissions

* fixed version numbering