add script configuration for page