Fix permissions on scripts.