Use right updated-script and fix some permmisions

Signed-off-by: kecinzer <kecinzer@gmail.com>
Merge branch 'master' into aokpk