Fixed so scripts are executable when copied to the scripts folder