Changing permission of script files