changed the privilege of script files.