Detect Swift scripts