Use right updated-script and fix some permmisions

Signed-off-by: kecinzer <kecinzer@gmail.com>