Fix access permissions on gen'd scripts.