small improvements

 - change file permissions
 - implement an openwrt feature