add script attributes